<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--
Design by Free CSS Templates
http://www.freecsstemplates.org
Released for free under a Creative Commons Attribution 2.5 License

Name       : Blogging
Description: A two-column, fixed-width design for 1024x768 screen resolutions.
Version    : 1.0
Released   : 20090208

-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Blogging by Free CSS Templates</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<link href="http://localhost:8000/static/style.css" rel="stylesheet" type="text/css" media="screen" />
</head>
<body>
<div id="wrapper">

	<div id="header">
		<div id="menu">
			<ul>
				<li class="current_page_item"><a href="http://localhost:8000/">Home</a></li>
				{% if pages %}
					{% for page in pages %}
					<li><a href="/page/{{page.id}}/">{{page.title}}</a></li>
					{% endfor %}
				{% endif %}
				
			</ul>
		</div>
		<!-- end #menu -->
	</div>
	<!-- end #header -->
	<div id="logo">
		<h1><a href="#">Blogging </a></h1>
		<p><em> template design by <a href="http://www.freecsstemplates.org/">Free CSS Templates</a></em></p>
	</div>
	<hr />
	<!-- end #logo -->
<!-- end #header-wrapper -->

<div id="page">
	<div id="content">
		{% if page %}
			<div class="post">
				<a href="/page/{{page.id}}/" style="text-decoration: none;"><h2 class="title">{{page.title}}</h2></a>
				<div class="entry"><p>{{page.description}}</p></div>
			</div>
		{% endif %}
	</div>
	<!-- end #content -->
	<div id="sidebar">
		<ul>
			<li>
				<h2>Categories</h2>
				{% if cat %}
					<ul>{% for c in cat %}
					<li><a href="/cat/{{c.id}}/">{{ c.title }}</a></li>
					{% endfor %}</ul>
					{% endif %}
				
			</li>
			<li>
				<h2>Websites</h2>
				<ul>
					{% if webs %}
					<ul>{% for web in webs %}
					<li><a href="{{web.url}}">{{ web.name }}</a></li>
					{% endfor %}</ul>
					{% endif %}
					</ul>
				</li>
		</ul>
	</div>
	<!-- end #sidebar -->
	<div style="clear: both;">&nbsp;</div>
</div>
<!-- end #page -->

<div id="footer">
	<p>Copyright (c) 2008 Sitename.com. All rights reserved. Design by <a href="http://www.freecsstemplates.org/">Free CSS Templates</a>.</p>
</div>
<!-- end #footer -->
</div>
</body>
</html>
